<template>
  <div class="kh-classify kh-classify-adapt">
    <classify/>
    <div class="kh-search">
      <a href="javascript:;"></a>
      <input type="text" class="kh-search-main">
    </div>
  </div>
</template>

<script>
  import classify from '@/components/common/classify'

  export default {
    name: "search-vue",
    components: {
      classify
    }
  }
</script>

<style lang="scss" scoped>
  .kh-classify {
    margin-top: 60px;
    padding-bottom: 30px;
    display: flex;
    justify-content: space-between;
    border-bottom: 8px solid #f4f4f4;
  }
  // search-layout
  .kh-search {
    display: inline-block;
    width: 30%;
    height: 36px;
    position: relative;

    a {
      position: absolute;
      top: 6px;
      right: 18px;
      width: 20px;
      height: 24px;
      background-image: url("../../../static/blog/search.png");
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
    }

    .kh-search-main {
      width: 100%;
      height: 100%;
      outline: 0;
      font-size: 16px;
      padding: 0 60px 0 18px;
      border-radius: 4px;
      border: 1px solid #ccc;
      background-color: #f4f4f4;
    }
  }
</style>
